package org.jeecg.modules.friends.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.friends.condition.TradeOrderCondition;
import org.jeecg.modules.friends.model.TradeOrderDO;

public interface TradeOrderDOMapper {
    long countByCondition(TradeOrderCondition condition);

    int deleteByCondition(TradeOrderCondition condition);

    int deleteByPrimaryKey(Long id);

    int insert(TradeOrderDO record);

    int insertSelective(TradeOrderDO record);

    List<TradeOrderDO> selectByCondition(TradeOrderCondition condition);

    TradeOrderDO selectByPrimaryKey(Long id);

    int updateByConditionSelective(@Param("record") TradeOrderDO record, @Param("condition") TradeOrderCondition condition);

    int updateByCondition(@Param("record") TradeOrderDO record, @Param("condition") TradeOrderCondition condition);

    int updateByPrimaryKeySelective(TradeOrderDO record);

    int updateByPrimaryKey(TradeOrderDO record);
}